package com.dreamfire.display.display2D.core
{
	import flash.geom.Point;
	import flash.geom.Vector3D;
	
	public class Object2D implements IObject2D
	{
		protected var _position:Vector3D;
		protected var _size:uint;
		protected var _depth:Number;
		
		public function Object2D(size:uint = 32)
		{
			this._size = size;
		}
		
		public function updatePosition():void
		{
			//更新坐标
		}
		
		public function get position():Vector3D
		{
			return _position;
		}
		
		public function set position(value:Vector3D):void
		{
			_position = value;
			updatePosition();
		}
		
		public function get size():uint
		{
			return _size;
		}
		
		public function set size(value:uint):void
		{
			_size = value;
			updatePosition();
		}
		
		public function get depth():Number
		{
			return _depth;
		}
		
	}
}